#ifndef __JHSERIALPORT_H__
#define __JHSERIALPORT_H__

#include "JHZk.h"

#define TIMEOUT_SERIALPORT          5000

#ifndef _JHINFO_SERIALPORT_
#define _JHINFO_SERIALPORT_
typedef struct _JHINFO_SERIALPORT{
	unsigned long size;      
	char serialport[64];      
	unsigned long baudrate;   
	unsigned char databits;  
	unsigned char parity;     
	unsigned char stopbits;    
	unsigned char reserved;   
	unsigned long timeout;     
}JHINFO_SERIALPORT, *LPJHINFO_SERIALPORT;
#endif // !_JHINFO_SERIALPORT

/* TransportLayer objects*/
extern JHTRANSPORTLAYER JHTransportlayer_serialport;

#endif
